/*
 * @Author: AiLjx
 * @Date: 2022-06-30 15:37:11
 * @LastEditors: AiLjx
 * @LastEditTime: 2022-06-30 19:11:24
 */
export default {
  "GET /user": { name: "AiLjx", age: 18 },
  "POST /user/login": (req, res) => {
    console.log(req.body);
    if (req.body.username === "ailjx" && req.body.password === "123") {
      res.send({
        ok: 1,
      });
    } else {
      res.send({
        ok: 0,
      });
    }
  },
};
